import axios from '@/libs/request/axios'
// 获取凭证发送信息数据多条件
export const getAccountVoucherInfoList = (params) => {
    return axios.request({
        url: '/contractAccount/accountVoucherInfo/getAccountVoucherInfoList',
        data: params,
        method: 'post'
    })
}
 // 冲销凭证
export const  reversal= (id,params) => {
    return axios.request({
        url: `/contractAccount/accountVoucherInfo/reversal/${id}`,
        data: params,
        method: 'post'
    })
}
// 重新发送
export const  resend= (id,params) => {
    return axios.request({
        url: `/contractAccount/accountVoucherInfo/resend/${id}`,
        data: params,
        method: 'post'
    })
}
// 获取凭证明细信息
export const getVoucherInfo = (id,params) => {
    return axios.request({
        url: `/contractAccount/accountVoucherInfo/getVoucherInfo/${id}`,
        data: params,
        method: 'post'
    })
}
// 导出报表
export const exportVoucherList = (params) => {
    return axios.request({
        url: `/contractAccount/accountVoucherInfo/exportVoucherList`,
        data: params,
        method: 'post'
    })
}
